package cn.gogoyc.system.mapper;

import cn.gogoyc.org.basic.mapper.BaseMapper;
import cn.gogoyc.system.domain.SystemDictionaryDetail;
import cn.gogoyc.system.query.DictionaryDetailQuery;

import java.util.List;

/**
 * 数据字典明细Mapper接口
 */
public interface SystemDictionaryDetailMapper extends BaseMapper<SystemDictionaryDetail> {
    /**
     * Find type id del.
     *
     * @param TypeId the type id
     */
    void findTypeIdDel(Long TypeId);

    /**
     * Gets details.
     *
     * @param id the id
     * @return the details
     */
    List<SystemDictionaryDetail> getDetails(Long id);

    /**
     * Query count long. 查询部门个数
     * @param query 分页实体参数
     * @return 返回部门个数 integer
     */
    Integer queryCount2(DictionaryDetailQuery query);

    /**
     * Query data list. 查询分页数据
     * @param query 分页实体参数
     * @return 返回分页部门集合 list
     */
    List<SystemDictionaryDetail> queryData2(DictionaryDetailQuery query);
}
